package org.ecbox.android.sdk.domain;

import java.util.Date;

import org.ecbox.android.sdk.EopObject;
import org.ecbox.android.sdk.dict.Gender;
import org.ecbox.android.sdk.dict.UserStatus;
import org.ecbox.android.sdk.internal.mapping.ApiField;

/**
 * 用户信息
 * 
 * File: UserTo.java<br/>
 * Description: <br/>
 * 
 * Copyright: Copyright (c) 2012 ecbox.com<br/>
 * Company: ECBOX,Inc.<br/>
 * 
 * @author chenxiaochun
 * @date 2014年4月29日
 * @version 1.0
 */
public class User extends EopObject {

  private static final long serialVersionUID = 6330415918816595843L;

  @ApiField
  private Long id;

  @ApiField
  private String mobile;

  @ApiField
  private String email;

  private String password;

  @ApiField
  private UserStatus userStatus;

  @ApiField
  private Gender gender;

  @ApiField
  private String name;

  @ApiField
  private String telephone;

  @ApiField
  private String address;

  @ApiField
  private String birthday;

  @ApiField
  private Date createTime;

  @ApiField
  private Date modifyTime;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public UserStatus getUserStatus() {
    return userStatus;
  }

  public void setUserStatus(UserStatus userStatus) {
    this.userStatus = userStatus;
  }

  public Gender getGender() {
    return gender;
  }

  public void setGender(Gender gender) {
    this.gender = gender;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getBirthday() {
    return birthday;
  }

  public void setBirthday(String birthday) {
    this.birthday = birthday;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getModifyTime() {
    return modifyTime;
  }

  public void setModifyTime(Date modifyTime) {
    this.modifyTime = modifyTime;
  }

}
